package com.xxx.service.impl;

import com.xxx.anno.AnnoService;
import com.xxx.service.DemoService;

/**
 * 使用自定义注解，手写springmvc：Service实现类
 */
@AnnoService("DemoServiceImpl") // iocMap.put("DemoServiceImpl", new DemoServiceImpl());
public class DemoServiceImpl implements DemoService {

	@Override
	public String query(String name, String age) {
		return "name="+name+", age="+age;
	}

}
